<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="csrf-token" content="{{ csrf_token() }}"/>
    <title>电力系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="/dist/admin/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/dist/admin/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/dist/admin/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="/dist/admin/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
          page. However, you can choose any other skin. Make sure you
          apply the skin class to the body tag so the changes take effect.
    -->
    <link rel="stylesheet" href="/dist/admin/css/skins/skin-purple.min.css">

    <!-- toastr -->
    <link rel="stylesheet" href="/dist/admin/css/toastr.min.css">

<style>
    #J-iframe{
        height:510px;
    }
</style>

    @section('css')
    @show

            <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="/dist/admin/js/html5shiv.min.js"></script>
    <script src="/dist/admin/js/respond.min.js"></script>
    <![endif]-->
</head>
<!--
BODY TAG OPTIONS:
=================
Apply one or more of the following classes to get the
desired effect
|---------------------------------------------------------|
| SKINS         | skin-blue                               |
|               | skin-black                              |
|               | skin-purple                             |
|               | skin-yellow                             |
|               | skin-red                                |
|               | skin-green                              |
|---------------------------------------------------------|
|LAYOUT OPTIONS | fixed                                   |
|               | layout-boxed                            |
|               | layout-top-nav                          |
|               | sidebar-collapse                        |
|               | sidebar-mini                            |
|---------------------------------------------------------|
-->
<body class="hold-transition skin-purple sidebar-mini">
<div class="wrapper">

    <!-- Main Header -->
    <header class="main-header">

        <!-- Logo -->
        <a href="" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>芯</b></span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>芯芸</b>电力系统</span>
        </a>

        <!-- Header Navbar -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">导航切换</span>
            </a>
            <!-- Navbar Right Menu -->
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <!-- User Account Menu -->
                    <li class="dropdown user user-menu">
                        <!-- Menu Toggle Button -->
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <!-- The user image in the navbar-->
                            <img src="/dist/admin/img/default.png" class="user-image" alt="User Image">
                            <!-- hidden-xs hides the username on small devices so only the image appears. -->
                            <span class="hidden-xs">{{session()->get('user')['name']}}</span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- The user image in the menu -->
                            <li class="user-header">
                                <img src="/dist/admin/img/default.png" class="img-circle" alt="User Image">

                                <p>
                                    {{session()->get('user')['name']}}
                                    <small>欢迎使用</small>
                                </p>
                            </li>
                            <!-- Menu Body -->
                            <li class="user-body" style="display: none;">
                                <div class="row">
                                    <div class="col-xs-4 text-center">
                                        <a href="#">Followers</a>
                                    </div>
                                    <div class="col-xs-4 text-center">
                                        <a href="#">Sales</a>
                                    </div>
                                    <div class="col-xs-4 text-center">
                                        <a href="#">Friends</a>
                                    </div>
                                </div>
                                <!-- /.row -->
                            </li>
                            <!-- Menu Footer-->
                            <li class="user-footer">
                                <div class="pull-left">
                                    <a href="javascript:;" class="btn btn-default btn-flat">个人资料</a>
                                </div>
                                <div class="pull-right">
                                    <a href="/auth/logout" class="btn btn-default btn-flat">安全退出</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                    <!-- Control Sidebar Toggle Button -->
                    <li>
                        <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar">

        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">

            <!-- Sidebar user panel (optional) -->
            <div class="user-panel">
                <div class="pull-left image">
                    <img src="/dist/admin/img/default.png" class="img-circle" alt="User Image">
                </div>
                <div class="pull-left info">
                    <p>{{session()->get('user')['name']}}</p>
                    <!-- Status -->
                    <a href="javascript:;"><i class="fa fa-circle text-success"></i> 在线</a>
                </div>
            </div>

            <!-- search form (Optional) -->
            <form action="#" method="get" class="sidebar-form">
                <div class="input-group">
                    <input type="text" name="q" class="form-control" placeholder="搜索">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
                </div>
            </form>
            <!-- /.search form -->

            <!-- Sidebar Menu -->
            <ul class="sidebar-menu">
                <li class="header">系统菜单</li>
                <!-- Optionally, you can add icons to the links -->
                <li class="active"><a href="/frontend/index" class="J-link"><i class="fa fa-link"></i> <span>首页</span></a></li>
                <li class="treeview">
                    <a href="#"><i class="fa fa-link"></i> <span>个人中心</span> <i class="fa fa-angle-left pull-right"></i></a>
                    <ul class="treeview-menu">
                        <li><a href="/frontend/user/profile" class="J-link"><i class="fa fa-link"></i>我的资料</a></li>
                        <li><a href="/frontend/user/change-password" class="J-link"><i class="fa fa-link"></i>修改密码</a></li>
                        <li><a href="/frontend/user/export-data" class="J-link"><i class="fa fa-link"></i>导出数据</a></li>
                    </ul>
                </li>
                <li><a href="/frontend/index/real-time" class="J-link"><i class="fa fa-link"></i> <span>实时监测</span></a></li>
                <li><a href="/frontend/site/index" class="J-link"><i class="fa fa-link"></i> <span>我的电站</span></a></li>
                <li><a href="/frontend/warn/history" class="J-link"><i class="fa fa-link"></i> <span>历史警报</span></a></li>
                <li><a href="/frontend/device/working" class="J-link"><i class="fa fa-link"></i> <span>实时工况</span></a></li>
                <li class="treeview">
                    <a href="#"><i class="fa fa-link"></i> <span>气象站</span> <i class="fa fa-angle-left pull-right"></i></a>
                    <ul class="treeview-menu">
                        <li><a href="/frontend/weather/show" class="J-link"><i class="fa fa-link"></i>气象检测列表</a></li>
                        <li><a href="/frontend/weather/add-station" class="J-link"><i class="fa fa-link"></i>添加检测点</a></li>
                    </ul>
                </li>

            </ul>
            <!-- /.sidebar-menu -->
        </section>
        <!-- /.sidebar -->
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

        @section('content')
        @show

    </div>
    <!-- /.content-wrapper -->

    <!-- Main Footer -->
    <footer class="main-footer">
        <!-- To the right -->
        <div class="pull-right hidden-xs">
            电力系统&nbsp;v1.0.0
        </div>
        <!-- Default to the left -->
        <strong>Copyright &copy; 2016~2020 <a href="#">芯芸科技</a>.</strong> 版权所有.
    </footer>

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
        <!-- Create the tabs -->
        <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
            <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
            <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
        </ul>
        <!-- Tab panes -->
        <div class="tab-content">
            <!-- Home tab content -->
            <div class="tab-pane active" id="control-sidebar-home-tab">
                <h3 class="control-sidebar-heading">Recent Activity</h3>
                <ul class="control-sidebar-menu">
                    <li>
                        <a href="javascript::;">
                            <i class="menu-icon fa fa-birthday-cake bg-red"></i>

                            <div class="menu-info">
                                <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>

                                <p>Will be 23 on April 24th</p>
                            </div>
                        </a>
                    </li>
                </ul>
                <!-- /.control-sidebar-menu -->

                <h3 class="control-sidebar-heading">Tasks Progress</h3>
                <ul class="control-sidebar-menu">
                    <li>
                        <a href="javascript::;">
                            <h4 class="control-sidebar-subheading">
                                Custom Template Design
                                <span class="label label-danger pull-right">70%</span>
                            </h4>

                            <div class="progress progress-xxs">
                                <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
                            </div>
                        </a>
                    </li>
                </ul>
                <!-- /.control-sidebar-menu -->

            </div>
            <!-- /.tab-pane -->
            <!-- Stats tab content -->
            <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
            <!-- /.tab-pane -->
            <!-- Settings tab content -->
            <div class="tab-pane" id="control-sidebar-settings-tab">
                <form method="post">
                    <h3 class="control-sidebar-heading">General Settings</h3>

                    <div class="form-group">
                        <label class="control-sidebar-subheading">
                            Report panel usage
                            <input type="checkbox" class="pull-right" checked>
                        </label>

                        <p>
                            Some information about this general settings option
                        </p>
                    </div>
                    <!-- /.form-group -->
                </form>
            </div>
            <!-- /.tab-pane -->
        </div>
    </aside>
    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->

<!-- REQUIRED JS SCRIPTS -->

<!-- jQuery 2.1.4 -->
<script src="/dist/admin/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="/dist/admin/js/bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="/dist/admin/js/app.min.js"></script>

<!-- toastr -->
<script src="/dist/admin/js/toastr.min.js"></script>


<script src="/dist/admin/js/fabric.min.js"></script>
<!-- underscore -->
<script src="/dist/admin/js/underscore-min.js"></script>

<!-- Bootstrap WYSIHTML5 -->
<script src="/dist/admin/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>

<script src="/dist/admin/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="/dist/admin/plugins/datatables/dataTables.bootstrap.min.js"></script>

<script src="/dist/admin/plugins/select2/select2.full.min.js"></script>

<script src="/dist/admin/js/jquery.form.js"></script>
<script src="/dist/admin/js/validator_show_util.js"></script>
<!-- AdminLTE App -->
{{--<script src="/dist/admin/js/app.min.js"></script>--}}
{{--<script src="/dist/admin/js/app.js"></script>--}}

<!-- ChartJS 1.0.1 -->
<script src="/dist/admin/plugins/chartjs/Chart.min.js"></script>

<!-- Morris.js charts -->
<script src="/dist/admin/js/raphael-min.js"></script>
<script src="/dist/admin/plugins/morris/morris.min.js"></script>

<!-- date-range-picker -->
<script src="/dist/admin/js/moment.min.js"></script>
<script src="/dist/admin/plugins/daterangepicker/daterangepicker.js"></script>

<script src="/dist/admin/plugins/datepicker/bootstrap-datepicker.js"></script>

<script src="/dist/admin/js/echarts.min.js"></script>

<!-- toastr -->

<!-- Optionally, you can add Slimscroll and FastClick plugins.
     Both of these plugins are recommended to enhance the
     user experience. Slimscroll is required when using the
     fixed layout. -->


<script>
    //csrf-token
    $.ajaxSetup({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        }
    });
</script>

@section('js')
@show

</body>
</html>
